PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


IterateThemes

Iterates over all themes installed on a system.

pascal OSStatus IterateThemes (
                     ThemeIteratorUPP inProc,
                     void *inUserData);
inProc
A value of type ThemeIteratorUPP . Pass a universal procedure pointer to an application-defined function such as that described in MyThemeIteratorProc . IterateThemes calls the specified function for each theme found installed in the system.
inUserData
A pointer to data of any type. Provide any data to be passed in to the inUserData parameter of the callback function specified in the inProc parameter. Pass NULL , if you do not wish to provide any data.
function result
A result code; see Result Codes .
DISCUSSION

The IterateThemes function continues to iterate until the function specified in the inProc parameter returns false or until there are no more themes.

VERSION NOTES

Available with Appearance Manager 1.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)